﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.WindowsAzure.StorageClient;

namespace AzureGames.Data.Implementation.ServiceEntities
{
    public class AIPlayerEntity : PlayerEntity
    {        
        public string Description { get; set; }
        public Guid ResourceID { get; set; }
        public int GameDefinitionID { get; set; }

        public static implicit operator Model.AIPlayer(AIPlayerEntity from)
        {
            return AutoMapper.Mapper.Map<AIPlayerEntity, Model.AIPlayer>(from);
        }

        public static implicit operator AIPlayerEntity(Model.AIPlayer from)
        {
            return AutoMapper.Mapper.Map<Model.AIPlayer, AIPlayerEntity>(from);
        }
    }
}
